{include file="public/header" /}
<div id="home_content" class="project_content">
  <div class="container">
    <div class="block"></div>
    {if $rows}
        <div class="row project_with_list">
          {foreach name="rows" item="vo"}
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
              <div class="item">
                  <h4 class="text-cut" title="{$vo['title']}">{$vo['title']}</h4>
                  <ul>
                    {foreach name="vo['items']" item="vv"}
                      <li>
                        <a href="{$vv.url|htmlentities}" class="text-cut" title="{$vv['title']}">
                          {$vv['title']}
                        </a>
                      </li>
                    {/foreach}
                  </ul>
                  <a class="btn-link" href="{:addon_url('knowbase/index/project',[':id'=>$vo['id']])}" {if $vo['description']} alt="{$vo['title']}-{$vo['description']}" {else}  alt="{$vo['title']}" {/if}>
                    查看更多
                  </a>
                </div>
              </div>
          {/foreach}
        </div>
    {else}
        {if $search}
          <div class="no_item text-muted text-center" >
            没有找到相关内容搜索结果~~
          </div>
        {else}
          <div class="no_item text-muted text-center" >
            未配置知识库，请先配置~~
          </div>
        {/if}
    {/if}
    
  </div>
  
  <div class="container">
    <div class="row text-center">
      {$multipage}
    </div>
  </div>
  
</div>
<script>
  var url_list = '{$url_list|htmlentities}';
</script>
{include file="public/footer" /}

